import java.time.LocalDateTime;
import java.util.Scanner;

public class Time {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        LocalDateTime now = LocalDateTime.now();

        while (true){
            System.out.print("请输入数据:");
            if (scanner.next().equals("n")){
                break;
            }else {
                System.out.println(now);
            }
        }

    }

}
